//
//  UserOfDataInsideSpecialistCharts.m
//  __PRODUCTNAME__
//
//  Created by li cheng on 16/09/20
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "UserOfDataInsideSpecialistCharts.h"
#import "BaseOfUserDataInsideSpecialistCharts.h"
#import "CounterOfUserDataInsideSpecialistCharts.h"
#import "ProfileOfUserDataInsideSpecialistCharts.h"
@implementation UserOfDataInsideSpecialistCharts
- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"base"]) {
        _base = [BaseOfUserDataInsideSpecialistCharts modelDic:value];
    }
    if ([key isEqualToString:@"counter"]) {
        _counter = [CounterOfUserDataInsideSpecialistCharts modelDic:value];
    }
    if ([key isEqualToString:@"profile"]) {
        _profile = [ProfileOfUserDataInsideSpecialistCharts modelDic:value];
    }
}
- (void)setValue:(id)value forUndefinedKey:(nonnull NSString *)key{
    [super setValue:value forUndefinedKey:key];
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}
@end
